﻿/// <reference path="../../../ext-all-debug.js" />
Ext.define('yzmh.view.main.Left', {
    extend: 'Ext.panel.Panel',
    alias: 'widget.mainleft',
    region: 'west',
    width:200,
    title: '雨泽漫画后台管理',
    layout: "accordion",
    collapsible: true,
    items: [{
        title: '网站管理',
        icon: 'extjs/icons/server.png',
        layout:'fit',
        items: [{
            xtype: 'treepanel',
            rootVisible: false,
            root: {
                children: [{
                    text: '后台用户',
                    leaf: true,
                    icon: 'extjs/icons/user.png'
                }, {
                    text: '网站公告',
                    leaf: true,
                    icon: 'extjs/icons/note.png'
                }, {
                    text: '友情链接',
                    leaf: true,
                    icon: 'extjs/icons/link.png',
                    xtype: 'linklist'
                }, {
                    text: '网站广告',
                    leaf: true
                }]
            }
        }]
    },{
        title: '漫画管理',
        icon: 'extjs/icons/book.png',
        layout: 'fit',
        items: [{
            xtype: 'treepanel',
            rootVisible: false,
            root: {
                children: [{
                    text: '类别管理',
                    leaf: true,
                    icon: 'extjs/icons/package.png',
                    xtype: 'classlist'
                }, {
                    text: '地区管理',
                    leaf: true,
                    icon: 'extjs/icons/package.png',
                    xtype: 'diqulist'
                }, {
                    text: '漫画管理',
                    leaf: true,
                    icon: 'extjs/icons/package.png',
                    xtype: 'comiclist'
                }, {
                    text: '作者管理',
                    leaf: true,
                    icon: 'extjs/icons/user.png',
                    xtype: 'authorlist'
                },{
                    text: '图库管理',
                    leaf: true,
                    icon: 'extjs/icons/folder_database.png',
                    xtype: 'comicdatalist'
                },{
                    text: '搜索失败',
                    leaf: true,
                    xtype: 'uxiframe',
                    src: 'search_no.aspx'
                }]
            }
        }]
    }, {
        title: '采集管理',
        icon: 'extjs/icons/pictures.png',
        layout: 'fit',
        items: [{
            xtype: 'treepanel',
            rootVisible: false,
            root: {
                children: [{
                    text: '新动漫',
                    leaf: true,
                    icon: 'extjs/icons/xindm.png',
                    xtype: 'xindm'
                }, {
                    text: '笨狗漫画',
                    leaf: true,
                    icon: 'extjs/icons/bengou.png',
                    xtype: 'bengou'
                }, {
                    text: '漫客栈',
                    leaf: true,
                    icon: 'extjs/icons/mkzhan.png',
                    xtype: 'mkzhan'
                }, {
                    text: '有妖气',
                    leaf: true,
                    icon: 'extjs/icons/u17.png',
                    xtype: 'u17'
                }, {
                    text: '雪儿漫画',
                    leaf: true,
                    icon: 'extjs/icons/baidu.png',
                    xtype: 'xemh'
                }, {
                    text: '天上人间',
                    leaf: true,
                    icon: 'extjs/icons/52tian.png',
                    xtype: '52tian'
                }, {
                    text: '漫画猪',
                    leaf: true,
                    icon: 'extjs/icons/manhuazhu.png',
                    xtype: 'manhuazhu'
                }, {
                    text: '汗汗漫画',
                    leaf: true,
                    icon: 'extjs/icons/hhcomic.png',
                    xtype: 'hhcomic'
                }, {
                    text: '精明眼',
                    leaf: true,
                    icon: 'extjs/icons/jmydm.png',
                    xtype: 'jmydm'
                }, {
                    text: '章节下载',
                    leaf: true,
                    icon: 'extjs/icons/picture_save.png',
                    xtype: 'downloadlist'
                }]
            }
        }]
    }, {
        title: '页面管理',
        icon: 'extjs/icons/page.png',
        layout: 'fit',
        items: [{
            xtype: 'treepanel',
            rootVisible: false,
            root: {
                children: [{
                    text: '生成全部索引',
                    leaf: true,
                    xtype: 'uxiframe',
                    src: '/yzadmin/makehtml_index_page.aspx'
                }]
            }
        }]
    }]
});